<div data-role="page" id="pageParticipar">
    <div data-theme="a" data-role="header" data-position="fixed">
        <h2> PhoreApp </h2>
        <div data-role="navbar" data-iconpos="right">
            <ul>
                <li>
                    <a href="#pageAoVivo" data-transition="flow" data-theme=""> AO VIVO! </a>
                </li>
                <li>
                    <a data-theme="" class="ui-btn-active ui-state-persist"> PARTICIPAR </a>
                </li>
            </ul>
        </div>
    </div>
    <div data-role="content" class="white">
        <h3> COM FOTOS! </h3>
        
        <? echo $this->Form->create('Image', array('controller'=> 'images', 'action' => 'add', 'type'=>'file', 'data-ajax'=>'false', 'data-role'=>'none')); ?>
        
            
                <? echo $this->Form->input('filename', array('type' => 'file', 'label'=>'')); ?>
                <?
                echo $this->Form->input('dir', array('type' => 'hidden'));
                echo $this->Form->input('mimetype', array('type' => 'hidden'));
                echo $this->Form->input('filesize', array('type' => 'hidden'));
                ?>
            
            <div data-role="fieldcontain">
                <? echo $this->Form->input('description', array('label'=>'', 'placeholder'=>'Adicione uma descrição', 'type'=>'text', 'data-mini'=>'true'));?>
            </div>
            
            <input type="submit" data-inline="true" data-theme="a" data-icon="check" data-iconpos="left" value="Enviar">
        </form>
        
        
        
    </div>
    <div data-role="content" class="black">
        <h3> COM MENSAGENS! </h3>

        <? echo $this->Form->create('Message', array('controller'=> 'messages', 'action' => 'add')); ?>
        
        <div data-role="fieldcontain">
            <? echo $this->Form->input('description', array('label'=>'', 'placeholder'=>'Sua mensagem aqui'));?>
        </div>

            <input type="submit" data-inline="true" data-theme="a" data-icon="check" data-iconpos="left" value="Enviar">
        </form>
    </div>
</div>